Desktop/Copy of GPS_TRACE/SRC/led.c File Reference

#include <inttypes.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#include "led.h"

Include dependency graph for led.c:

Go to the source code of this file.

Functions

void led_init ()
void led_yellow_on ()
 Set PC0, PC1 and PC2 as output.
void led_yellow_off ()
 Turn on the yellow LED.
void led_red_on ()
 Turn off the yellow LED.
void led_red_off ()
 Turn on the red LED.
void led_green_on ()
 Turn off the red LED.
void led_green_off ()
 Turn on the green LED.
void led_toggle_green ()
 Toggle state of red LED.
void led_toggle_red ()
 Turn off the green LED.


Function Documentation

void led_green_off (  ) 

Turn on the green LED.

Parameters:
none 
Returns:
none

Definition at line 41 of file led.c.

Referenced by led_toggle_green().

void led_green_on (  ) 

Turn off the red LED.

Parameters:
none 
Returns:
none

Definition at line 36 of file led.c.

Referenced by led_toggle_green().

void led_init (  ) 

Definition at line 6 of file led.c.

void led_red_off (  ) 

Turn on the red LED.

Parameters:
none 
Returns:
none

Definition at line 31 of file led.c.

Referenced by led_toggle_red().

void led_red_on (  ) 

Turn off the yellow LED.

Parameters:
none 
Returns:
none

Definition at line 26 of file led.c.

Referenced by led_toggle_red().

void led_toggle_green (  ) 

Toggle state of red LED.

Parameters:
none 
Returns:
none

Definition at line 46 of file led.c.

void led_toggle_red (  ) 

Turn off the green LED.

Parameters:
none 
Returns:
none

Definition at line 60 of file led.c.

void led_yellow_off (  ) 

Turn on the yellow LED.

Parameters:
none 
Returns:
none

Definition at line 21 of file led.c.

Referenced by ReportPosition().

void led_yellow_on (  ) 

Set PC0, PC1 and PC2 as output.

Parameters:
none 
Returns:
none

Definition at line 16 of file led.c.


Generated on Fri Aug 17 13:50:55 2007 for GPS TRACE by  doxygen 1.5.3